const notice = {
    state: {
        which: 1, // 选择了哪个公告
        tlist1: [], // 题目列表1
        tlist2: [], // 题目列表1的复制, 超过16位会进行截取
        vlist: [], //文章列表
        noticeType: 0,//公告的类型
        articleId: 0,//文章id
    },
    mutations: {
        set_notice_which(state, w) {
            state.which = w
        },
        set_notice_tlist1(state, arr) {
            state.tlist1 = arr
        },
        set_notice_tlist2(state, arr) {
            state.tlist2 = arr
        },
        set_notice_vlist(state, arr) {
            state.vlist = arr
        },
        set_notice_noticeType(state, type) {
            state.noticeType = type
        },
        set_notice_articleId(state, id) {
            state.articleId = id
        },
    }
}
export {notice}
const api_coinList = {
    state: {
        list: []
    },
    mutations: {
        set_api_coinList(state, arr) {
            state.list = arr
        }
    }
}  
export {api_coinList}